package com.bigdata.service.domain.bo;

import com.bigdata.common.core.validate.AddGroup;
import com.bigdata.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.bigdata.common.core.domain.BaseEntity;

/**
 * 数据集文件业务对象 dataset_files
 *
 * @author ruoyi
 * @date 2025-07-15
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class DatasetFilesBo extends BaseEntity {

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 关联数据集ID
     */
    @NotBlank(message = "关联数据集ID不能为空", groups = { EditGroup.class })
    private String datasetId;

    /**
     * 原始文件名
     */
    @NotBlank(message = "原始文件名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fileName;

    /**
     * 文件大小（字节）
     */
    @NotBlank(message = "文件大小（字节）不能为空", groups = { AddGroup.class, EditGroup.class })
    private String fileSize;

    /**
     * 文件存储路径
     */
    @NotBlank(message = "文件存储路径不能为空", groups = { AddGroup.class, EditGroup.class })
    private String filePath;

    /**
     * 文件类型：数据文件/预览图
     */
    private String fileType;

    /**
     * 上传状态
     */
    @NotBlank(message = "上传状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String uploadStatus;



}
